﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Deployment.Data.Variable
{
    public class HardCodedVariable : AbstractVariable
    {
        protected internal override string calculateValue()
        {
            return this.Value;
        }



        protected internal override string getTypeDescriptionName()
        {
            return "Hardcoded value Variable";
        }

        protected internal override bool performContentCheck()
        {
            return !string.IsNullOrEmpty(Name) & Value != null;
        }

        protected internal override AbstractVariableEditorControl createControl()
        {
            return new HardCodedVariableEditorControl();
        } 
    }
}
